package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.common.PageQuery;
import org.example.domain.UpdateInfo;
import org.example.domain.UserInfo;
import org.example.domain.UserQuery;

import java.util.List;

@Mapper
public interface UserMapper {
    int enRoll(UserInfo userInfo);

    UserInfo checkUser(String userName);

    List<UserInfo> pageQuery(UserQuery userQuery);

    boolean updateUser(UpdateInfo updateInfo);
}
